import request from '@/utils/request'
export function getDish(params) {
  return request({
    url: '/dish/page',
    method: 'get',
    params
  })
}
export function deleteDish(ids) {
  return request({
    url: `/dish?ids=${ids}`,
    method: 'delete'
  })
}
export function dishStatusByStatus(data) {
  return request({
    url: `/dish/status/${data.status}?ids=${data.id}`,
    method: 'post'
  })
}
